/*********************************************************************************
 * The contents of this file are subject to the SugarCRM Public License Version
 * 1.1.3 ("License"); You may not use this file except in compliance with the
 * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * All copies of the Covered Code must include on each user interface screen:
 *    (i) the "Powered by SugarCRM" logo and
 *    (ii) the SugarCRM copyright notice
 * in the same form as they appear in the distribution.  See full license for
 * requirements.
 *
 * The Original Code is: SugarCRM Open Source
 * The Initial Developer of the Original Code is SugarCRM, Inc.
 * Portions created by SugarCRM are Copyright (C) 2004-2006 SugarCRM, Inc.;
 * All Rights Reserved.
 * Contributor(s): ______________________________________.
 ********************************************************************************/
/*********************************************************************************
 * $Id: style.css,v 1.78 2006/03/17 01:31:49 wayne Exp $
 * Description:  Contains a variety of utility functions used to display UI 
 * components such as form headers and footers.  Intended to be modified on a per 
 * theme basis.
 ********************************************************************************/
 
/* Default Styles */
body { 
	margin: 0px 0px 0px 0px;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	color: #6E5400;
	font-size: 12px;
	background-color: #ffffff;
	scrollbar-arrow-color: #0057F5; 
	scrollbar-3dlight-color: #cccccc; 
	scrollbar-highlight-color: #EAEAE3; 
	scrollbar-face-color: #EAEAE3; 
	scrollbar-shadow-color: #EAEAE3;
	scrollbar-track-color: #D7D5CA; 
	scrollbar-darkshadow-color: #666666;
	}
img {
	behavior:	url("include/pngbehavior.htc");
}

table,td {
	color: #444444;
	font-size: 11px;
	}

p {
	MARGIN-TOP: 0px;
	MARGIN-BOTTOM: 10px;
	}
	
form {
	margin: 0px;
	}

h1 {
	color: #EA1313;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 8px;
	}

h2 {
	color: #4D95DD;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 18px; 
	font-weight: bold; 
	margin-bottom: 6px;
	}

h3 {
	color: #cc6600; 
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 16px; 
	font-weight: bold; 
	margin-bottom: 4px;
	}

h4 {
	color: #333333; 
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 14px; 
	font-weight: bold; 
	margin-bottom: 2px;
	}

h5 {
	color: #333333; 
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 13px; 
	font-weight: bold; 
	margin-bottom: 1px;
	}
	
LI {
	LIST-STYLE-TYPE: square; 
	margin-left: 6px; 
	MARGIN-BOTTOM: 2px;
	}
	
UL {
	MARGIN-TOP: 2px;
	}

hr {
	height: 1px;
}

a:link, a:visited {
	color: #444444;
	font-size: 11px;
	text-decoration: none;
	}
a:hover {
	color: #666666;
	text-decoration: underline;
	}
/* Form Styles */

.button {

    border: 1px solid #B2B2B2;
    background-color: #ffffff;
    font-size: 11px;
    color: #444444;
    font-weight: normal;
    background-image: url(images/formButtonBg.gif);
    background-repeat: repeat-x;
    background-position: bottom;
    }
.buttonOn {

	border: 1px solid #386CA1;
	font-size: 11px;
	color: #ffffff;
	background-color: #00488F;
	font-weight: normal;
	}
	
input,select {
	border: 1px solid #bbbbbb;
	font-size: 11px;
	background-color: #ffffff;
	vertical-align: bottom;
	}
	
textarea {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	border: 1px solid #888888;
	font-size: 12px;
	background-color: #ffffff;
	}
	
/* Content Specific Styles */
	/* body text */
	.contentBox {
		background-color: #ffffff;
		border: 1px #B4B4B4 solid;
		padding: 5px;
	}

	a.body:link, a.body:visited {
		color: #444444;
		font-size: 12px;
		text-decoration: underline;
		}
		
	a.body:hover {
		color: #666666;
		text-decoration: underline;
		}
	
	/* myArea is for my account, admin, logout, an about links*/
	.myArea {
		font-size: 11px;
		font-weight: bold;
		color: ffffff;
		}
	a.myArea:link, a.myArea:visited {
		color: ffffff;
		text-decoration: none;
		}
	a.myArea:hover {
		color: #ffff00;
		text-decoration: none;
		}
		
	/*for the main screen navigation tabs*/
	.currentTab {
		font-size: 12px;
		font-weight: bold;
		padding-top:1px;
		}
	a.currentTab:link, a.currentTab:visited {
		color: #C8293A;
		text-decoration: none;
		}
	a.currentTab:hover {
		color: #A2A2A2;
		text-decoration: none;
		}
		
	.otherTab {
		font-size: 12px;
		font-weight: bold;
		padding-top:4px;
		}
	a.otherTab:link, a.otherTab:visited {
		color: #444444;
		text-decoration: none;
		}
	a.otherTab:hover {
		color: #666666;
		text-decoration: none;
		}
		
	.emptyTabSpace {
		border-bottom: 1px solid #67b4ff; 
		}

	.subMenu {
		font-size: 6px;
		color: #154D89;
		background-color: #ffffff;
		border-top: 1px solid #A2A2A2;
		border-bottom: 1px solid #A2A2A2;
		border-left: 1px solid #A2A2A2;
		border-right: 1px solid #A2A2A2;
		padding-left:5px;
		padding-right:5px;
		padding-top:4px;
		padding-bottom:4px;
		}
	a.subMenuLink:link, a.subMenuLink:visited {
	font-size: 11px;
		color: #154D89;
		text-decoration: none;
		border-bottom: 0px;
		padding-left: 0px;
		}
	a.subMenuLink:hover {
		color: #000000;
		text-decoration: none;
		border-bottom: 0px;
		}
		
	/*welcome user and date bar*/
    .moduleTitle {
        border-bottom: 1px solid #BBBBBB;
     }
	.welcome {
		font-size: 12px;
	    color: #444444;
		background-image: url(images/welcomeBg.jpg);
        background-repeat: repeat-x;
		border-bottom: 1px solid #bbbbbb;
		padding-left: 10px;
		height:24px;
		}
		
	.date {
		font-size: 13px;
		font-weight: bold;
		color: #444444;
		background-color: #dddddd;
		border-bottom: 1px solid #bbbbbb;
		padding-right: 10px;
		}
	

	/*right main content (suffix S1 stands for Style 1) */
	.listView {
		border-bottom: 1px solid #A2A2A2;
	}


	.listViewPaginationTdS1 {
		font-size: 14px;
		background-color: #BBD3EA;
		padding-right: 5px;
		padding-left: 5px;
		font-weight:bold;
		height:22px;
	}
	
		
	a.utilsLink:link, a.utilsLink:visited {
		color: #004283;
		font-size: 11px;
		font-weight: normal;
		text-decoration: none;

		}
	a.utilsLink:hover {
		color: #3E78B2;
		font-size: 11px;
		text-decoration: none;
		}


	/* charting styles */
	.chartBox {
		background-color: #ffffff;
		border: 1px #B4B4B4 solid;
		padding: 5px;
	}
	
	

	/* main tab forms */
   .tabForm {
		background-color:#F2F2EF;
		border: 1px #B4B4B4 solid;
		padding: 1px;
	}
	
	h4.dataLabel {
		color: #000000; 
		background-color: #CBE4FE;
		padding-right: 5px;
		padding-left: 5px;
		font-size: 14px; 
		font-weight: bold; 
		height:22px;
		vertical-align:middle;
	}
	
	h5.dataLabel {
		color: #888888; 
		font-size: 13px; 
		font-weight: bold; 
		margin-bottom: 1px;
		margin-top: 1px;
	}
	.dataLabel {
		font-weight: bold;
		color: #444444; 
		background-color: #F2F2EF;
		padding-right: 3px;
		padding-left: 3px;
		padding-top: 1px;
		padding-bottom: 1px;
		vertical-align: middle;
		text-align: right;
		font-size: 12px
	}
	/*===061129 define start===*/
	.managefont {
		font-weight: bold;
		color: #444444;
		padding-top:9px;
		padding-bottom:9px; 		
		text-align: right;
		font-size: 12px
	}
	/*===061129 define start===*/
	.dataField {
		font-weight: normal;
		vertical-align : middle;
	}
	
	

	
	/* main tab panel views */
	.tabDetailView {
		border: 1px solid #6A6A5B;
		background-color: #E0E0C0;
	}
	.tabDetailViewDL {
		color: #444444; 
		font-weight: bold;
		background-color: #D5E4F2;
		padding-right: 4px;
		padding-left: 4px;
		padding-top: 2px;
		padding-bottom: 2px;
		vertical-align: top;
		text-align: right;
		font-size: 12px
	}
	

		
	h4.tabDetailViewDL {
		color: #666666; 
		font-family: Arial, Verdana, Helvetica, sans-serif;
		font-size: 14px; 
		font-weight: bold; 
		margin-bottom: 2px;
		text-align: left;
	}
	.tabDetailViewDF {
		color: #555555; 
		background-color: #FDFEFF;
		padding-right: 4px;
		padding-left: 4px;
		padding-top: 2px;
		padding-bottom: 2px;
		vertical-align: top;
	    font-size: 12px
	}

	
	
/* calendar styles */
   .monthHeader {
    background-image: url(images/calendarHeaderBg.gif);
    background-color: #fbfbfb;
    background-repeat: repeat-x;
    background-position: bottom;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #A2A2A2;
    }

	.monthHeaderH3 {
	color: #000000; 
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 16px; 
	font-weight: bold; 
	}
	.monthCalBody {

	background-color: #CBCBAE;
	}
	


	a.NextPrevLink:link, a.NextPrevLink:visited {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	}
	a.NextPrevLink:hover {
	text-decoration: none;
	font-weight: bold;
	}


	.monthCalBodyTHDay {
	font-size: 12px;
	background-color: #59594C;
	BACKGROUND-IMAGE: url(images/monthCalBodyTHDay_bg.gif);
	color: #000000;
	padding: 5px;
	font-weight:bold;
	}
	.monthCalBodyWeek {
	vertical-align: top;
	background-color: #ACAC93;
	color: #ffffff;
	padding: 5px;
	}

	.monthCalBodyTodayWeekDay {
	border: 1px solid #A2A2A2;
	background-color: #ffffff;
	color: #444444;
	padding: 3px;
	text-align: right;
	}

	.monthCalBodyWeekDay {
	background-color: #FDFEFF;
	color: #444444;
	padding: 3px;
	text-align: left;
	}

	.dailyCalBodyTime {
	vertical-align: top;
	background-color: #D5E4F2;
	color: #ffffff;
	padding: 3px;
	font-weight: bold;
	height: 20px;
	}

	a.weekCalBodyDayLink:link, a.weekCalBodyDayLink:visited {
	color: #255194;
	}
	a.weekCalBodyDayLink:hover {
	color: #255194;
	}

	
	/* misc font displays */

	.required {
		color: #ff0000;
	}
	.error {
		color: #ff0000;
	}
	.success {
		color: #00ee00;
	}

	.tm {
		font-size: 8px;
		font-family: Verdana;
	}
	
	.footer {
padding-top: 10px;
padding-bottom: 10px;
	}


/* dynamic tab styles */


ul.tablist li a.current
{
background: #D5E4F2;
border-bottom: 1px solid #D5E4F2;
}



/* acl role colors */



.warningBox A {
	FONT-WEIGHT: bold
}

.warningBox {
	PADDING-RIGHT: 5px;
	BACKGROUND-POSITION: 5px 5px;
	MARGIN-TOP: 0px;
	PADDING-LEFT: 30px;
	MARGIN-BOTTOM: 0px;
	PADDING-BOTTOM: 5px;
	PADDING-TOP: 5px;
	BACKGROUND-REPEAT: no-repeat
}

.warningBox {
	BORDER-RIGHT: #FFCCCC 1px solid;
	BORDER-TOP: #FFCCCC 1px solid;
	BACKGROUND-IMAGE: url(images/tip_16.gif);
	BORDER-LEFT: #FFCCCC 1px solid;
	BORDER-BOTTOM: #FFCCCC 1px solid;
	BACKGROUND-COLOR: #FFFBFB
}


/*email styles*/
.emaildefaulthead
{
   background-image: url(images/emailHeaderBg.gif);
   height:31px;
   font-weight:bolder;
}

.emaildefaultright
{
   background-color:#FFFFFF;
   height:30px;
}
/*knowledge styles*/
.knowledgelistheaderbg{
 background-image: url(images/moduleTab_middle.gif);
 height:20px;
 font-weight:bolder;
 color:#000000;
}
.knowledgelistbg{
 height:25px;
 color:#000000;
}
.knowledgelistheader
{
 font-weight:bolder;
 color:#ffffff
}
.knowledgetable {
    background-color: #ffffff;

    border-bottom: 1px solid #A2A2A2;
    border-left: 1px solid #A2A2A2;
    border-right: 1px solid #A2A2A2;
    }

/*meeting styles*/
    .meetingtable {
    font-size: 11px;
    color: #ffffff;
	border-top: 1px solid #74AAE8;
    border-bottom: 1px solid #74AAE8;
    border-left: 1px solid #74AAE8;
    border-right: 1px solid #74AAE8;
    }
   .meetingtableHeader {
    font-size: 12px;
    color: #2C6BAF;
    background-image: url(images/calendarHeaderBg.gif);
	font-weight:bold;
    }
	.meetingtableHeaderSort {
    font-size: 12px;
    color: #FF0000;
    background-image: url(images/calendarHeaderBg.gif);
	font-weight:bold;
    }

/*news styles*/
.newdetailheader
{
 font-weight:bolder;
 color:#05006C;
 font-size:24px;
 vertical-align:middle;
 height:40px;
}
.newdetailsubheader
{
 font-weight:bolder;
 color:#05006C;
 font-size:14px;
 height:20px;
}
.newdetailfrom
{
 color:#A20010;
 font-size:12px;
}
/* forum Styles */
.forumborder {
    background-color: #efefef;
    border: 1px #9E9E9E solid;
    padding: 5px;
    background-position: bottom;
    background-repeat : repeat-x;
    }
.forumHeader
 {
    background-color: #F7F8F7;
    }
.forumclassHeader
 {
	 background-image: url(images/forumHeaderBg.gif);
	 height:25px;
    }
.forumclassrows
 {
    background-color: #ffffff;
    }
/*portal styles*/

.portallisttilebg
{
	 height:25px;
	 font-weight:bold;
	 color:#000000;
	 padding-left:5px;
}
.portallisttilebg2
{
	 height:25px;
	 font-weight:bold;
	 color:#000000;
	 padding-left:5px;
}

.portaltable
{
	 color:#666666;
	 background-color: #ffffff;
	 border-top:#565656 1px solid;
	 border-bottom:#C9C9C9 1px solid;
	 border-left:#C9C9C9 1px solid;
	 border-right:#C9C9C9 1px solid;
}

.portalclalendarHeader {
	color: #ffffff; 
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 16px; 
	font-weight: bold; 
	}
a.portalclalendarLink:link, a.portalclalendarLink:visited {
	font-size: 11px;
		color: #ffffff;
		text-decoration: none;
		border-bottom: 0px;
		padding-left: 0px;
		}
a.portalclalendarLink:hover {
		color: #000000;
		text-decoration: none;
		border-bottom: 0px;
		}
.title{font-size:14px; color:#333333; font-weight:bold;}		
.linetext{border-left:0px; border-top:0px; border-right:0px; background:none;}
.menutable {
    background-color: #ffffff;
	border-top: 1px solid #DBDBD5;
    border-bottom: 1px solid #DBDBD5;
    border-left: 1px solid #DBDBD5;
    border-right: 1px solid #DBDBD5;
    }
